Skip to main content

Sourcegraph search

Sourcegraph search is superior to all others I've used, hands down.
In honor of that, I've set up a release train of the OSS parts of the product.
OSS Version (latest semver)
Enterprise Version (latest semver)

Transfer search from sourcegraph to plugin#

Copy the search from the web to the plugin.
Same caveats as with src cli apply.

You might need to set the patternType depending on your search query:

  • patternType:structural if you are not doing a literal search, or case-sensitive.
  • patternType:regex if you're doing a regex search.

These values are set in your search query. For example:

patternType:regex spring.datasource.url=.*/postgres file:.*.properties

Developing#

GraphQL schema#

npx get-graphql-schema 'https://sourcegraph.com/.api/graphql' > gitlab.graphql.schema